adjustCropToFillFrame

abstract fun adjustCropToFillFrame(block: DesignBlock, minScaleRatio: Float)

Adjust the crop position/scale to at least fill the crop frame. Required scope: "layer/crop"

Parameters

block

the block to query.

minScaleRatio

the minimal crop scale ratio to go down to.